package org.example.egweibo8.mapper;

import org.apache.ibatis.annotations.Param;
import org.example.egweibo8.pojo.entity.Weibo;
import org.example.egweibo8.pojo.vo.WeiboDetailVO;
import org.example.egweibo8.pojo.vo.WeiboVO;

import java.util.List;

public interface WeiboMapper {
    void insertWeibo(Weibo weibo);

    List<WeiboVO> selectIndex();

    WeiboDetailVO selectById(@Param("id") Integer id,@Param("username") String username);
}
